<?php 
/**
   Template Name: Portfolio
 * Concept: Portfolio Page
 * Copyright 2011 www.gradientpixels.ca
 * Theme: Incantation
 */

get_header(); ?>

<div id="content-wrapper" class="clearfix" >
	<div class="w960">
		<div id="content-main" role="main">
		
<?php
	$portfolio = of_get_option('portfolio_columns');
 	switch ($portfolio) {
		case "pf1" : // Portfolio 1 column 
			get_template_part( 'layouts/portfolio1' );			 
			break;
		case "pf2" : // Portfolio 2 columns 
			get_template_part( 'layouts/portfolio2' );			 
			break;
		case "pf3" : // Portfolio 3 columns
			get_template_part( 'layouts/portfolio3' );			
			break;
		case "pf4" : // Portfolio 4 columns 
			get_template_part( 'layouts/portfolio4' );			
			break;
	}
?>
		
		</div><!-- #content-main -->			
	</div><!-- .w960 -->
</div><!-- #content-wrapper -->			

<?php get_footer(); ?>